#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>
typedef int Qtypedate;
typedef struct QueueNode {
	Qtypedate val;
	struct QueueNode* next;
}Qnode;
struct Queue {
	Qnode* head;
	Qnode* lost;
	int size;
};
void QueInit(Queue* pq);
void QueuePush(Queue* pq, Qtypedate x);
void QueuePop(Queue* pq);
Qtypedate QueueFront(Queue* pq);
Qtypedate QueueBack(Queue* pq);
bool QueueEmpty(Queue* pq);
int QueueSize(Queue* pq);
void QueueDistory(Queue* pq);